const koaeJwt=require("koa-jwt");

const jwtAuth=koaeJwt({
    secret:"jiaxiaoqiong",
    algorithms:[ "HS256" ]
}).unless({
    path:["/users/login","users/register"]
})


module.exports=jwtAuth